package package06章_面向对象编程_基础._07encapsulation封装性.exer4.test2;/**
 * ClassName: OrderTest
 * Package: package06章_面向对象编程_基础._07encapsulation封装性.exer4.test2
 * Description:
 *
 * @Author lys
 * @Create 2024/2/17 0:11
 * @Version 1.0
 */

import package06章_面向对象编程_基础._07encapsulation封装性.exer4.test1.Order;

/**
 * @description: TODO
 * @author lys
 * @date 2024/2/17 0:11
 * @version 1.0
 */
public class OrderTest {
    public static void main(String[] args) {
        Order order = new Order();

        //调用属性
        order.orderPublic = 1;

        //调用方法
        order.methodPublic();

        //不能调用
//        order.orderPrivate = 1;
//        order.orderDefault = 2;

//        order.methodPrivate();
//        order.methodDefault();

    }
}
